package yy.zn.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

/**
 * 工单物料表;
 *
 * @author LiuLei
 */
@ApiModel(value = "MocoRdersBordy", description = "工单物料表")
public class MocoRdersBordy {

    /**
     * 生产订单明细ID;生产订单明细ID
     */
    @TableField("MoDId")
    @ApiModelProperty(name = "生产订单明细ID", notes = "生产订单明细ID")
    private int MoDId;

    /**
     * 序号;序号
     */
    @TableField("SortSeq")
    @ApiModelProperty(name = "序号", notes = "序号")
    private int SortSeq;

    /**
     * 基本用量－分子;基本用量－分子
     */
    @TableField("BaseQtyN")
    @ApiModelProperty(name = "基本用量－分子", notes = "基本用量－分子")
    private BigDecimal BaseQtyN;

    /**
     * 基本用量－分母;基本用量－分母
     */
    @TableField("BaseQtyD")
    @ApiModelProperty(name = "基本用量－分母", notes = "基本用量－分母")
    private BigDecimal BaseQtyD;

    /**
     * 预计产量;预计产量
     */
    @TableField("Qty")
    @ApiModelProperty(name = "预计产量", notes = "预计产量")
    private BigDecimal Qty;

    /**
     * 申请已领量;申请已领量
     */
    @TableField("RequisitionIssQty")
    @ApiModelProperty(name = "申请已领量", notes = "申请已领量")
    private BigDecimal RequisitionIssQty;

    /**
     * 已领量;已领量
     */
    @TableField("IssQty")
    @ApiModelProperty(name = "已领量", notes = "已领量")
    private BigDecimal IssQty;

    /**
     * WIP属性;WIP属性(1入库/2工序/3领料/5基于BOM)
     */
    @TableField("WIPType")
    @ApiModelProperty(name = "WIP属性", notes = "WIP属性(1入库/2工序/3领料/5基于BOM)")
    private int WIPType;

    /**
     * 品号;品号
     */
    @TableField("InvCode")
    @ApiModelProperty(name = "品号", notes = "品号")
    private String InvCode;

    /**
     * 备注;备注
     */
    @TableField("Remark")
    @ApiModelProperty(name = "备注", notes = "备注")
    private String Remark;

    /**
     * 单据行条码;单据行条码
     */
    @TableField("cSubSysBarCode")
    @ApiModelProperty(name = "单据行条码", notes = "单据行条码")
    private String cSubSysBarCode;

    /**
     * 检货数量;检货数量
     */
    @TableField("PickingQty")
    @ApiModelProperty(name = "检货数量", notes = "检货数量")
    private BigDecimal PickingQty;

    /**
     * 批号;批号
     */
    @TableField("LotNo")
    @ApiModelProperty(name = "批号", notes = "批号")
    private String LotNo;

    /**
     * 仓库编号;仓库编号
     */
    @TableField("WhCode")
    @ApiModelProperty(name = "仓库编号", notes = "仓库编号")
    private String WhCode;

    /**
     * 是否返工;是否返工
     */
    @TableField("QmFlag")
    @ApiModelProperty(name = "是否返工", notes = "是否返工")
    private int QmFlag;

    /**
     * 生产订单数量;生产订单数量
     */
    @TableField("MocQty")
    @ApiModelProperty(name = "生产订单数量", notes = "生产订单数量")
    private BigDecimal MocQty;

    /**
     * 需求数量;需求数量
     */
    @TableField("MrpQty")
    @ApiModelProperty(name = "需求数量", notes = "需求数量")
    private BigDecimal MrpQty;

    /**
     * 生产订单表头ID;生产订单表头ID
     */
    @TableField("MoId")
    @ApiModelProperty(name = "生产订单表头ID", notes = "生产订单表头ID")
    private int MoId;

    /**
     * 存货名称;存货名称
     */
    @TableField("InvName")
    @ApiModelProperty(name = "存货名称", notes = "存货名称")
    private String InvName;

    /**
     * 规格型号;规格型号
     */
    @TableField("InvStd")
    @ApiModelProperty(name = "规格型号", notes = "规格型号")
    private String InvStd;

    /**
     * 存货自定义项2;存货自定义项2
     */
    @TableField("PurRemark")
    @ApiModelProperty(name = "存货自定义项2", notes = "存货自定义项2")
    private String PurRemark;

    /**
     * 存货自定义项7;存货自定义项7
     */
    @TableField("StdRemark")
    @ApiModelProperty(name = "存货自定义项7", notes = "存货自定义项7")
    private String StdRemark;

    /**
     * 存货自定义项5;存货自定义项5
     */
    @TableField("CustInvCode")
    @ApiModelProperty(name = "存货自定义项5", notes = "存货自定义项5")
    private String CustInvCode;

    /**
     * 仓库名称;仓库名称s
     */
    @TableField("WhName")
    @ApiModelProperty(name = "仓库名称", notes = "仓库名称s")
    private String WhName;

    public MocoRdersBordy() {
    }

    public int getMoDId() {
        return MoDId;
    }

    public void setMoDId(int moDId) {
        MoDId = moDId;
    }

    public int getSortSeq() {
        return SortSeq;
    }

    public void setSortSeq(int sortSeq) {
        SortSeq = sortSeq;
    }

    public BigDecimal getBaseQtyN() {
        return BaseQtyN;
    }

    public void setBaseQtyN(BigDecimal baseQtyN) {
        BaseQtyN = baseQtyN;
    }

    public BigDecimal getBaseQtyD() {
        return BaseQtyD;
    }

    public void setBaseQtyD(BigDecimal baseQtyD) {
        BaseQtyD = baseQtyD;
    }

    public BigDecimal getQty() {
        return Qty;
    }

    public void setQty(BigDecimal qty) {
        Qty = qty;
    }

    public BigDecimal getRequisitionIssQty() {
        return RequisitionIssQty;
    }

    public void setRequisitionIssQty(BigDecimal requisitionIssQty) {
        RequisitionIssQty = requisitionIssQty;
    }

    public BigDecimal getIssQty() {
        return IssQty;
    }

    public void setIssQty(BigDecimal issQty) {
        IssQty = issQty;
    }

    public int getWIPType() {
        return WIPType;
    }

    public void setWIPType(int WIPType) {
        this.WIPType = WIPType;
    }

    public String getInvCode() {
        return InvCode;
    }

    public void setInvCode(String invCode) {
        InvCode = invCode;
    }

    public String getRemark() {
        return Remark;
    }

    public void setRemark(String remark) {
        Remark = remark;
    }

    public String getcSubSysBarCode() {
        return cSubSysBarCode;
    }

    public void setcSubSysBarCode(String cSubSysBarCode) {
        this.cSubSysBarCode = cSubSysBarCode;
    }

    public BigDecimal getPickingQty() {
        return PickingQty;
    }

    public void setPickingQty(BigDecimal pickingQty) {
        PickingQty = pickingQty;
    }

    public String getLotNo() {
        return LotNo;
    }

    public void setLotNo(String lotNo) {
        LotNo = lotNo;
    }

    public String getWhCode() {
        return WhCode;
    }

    public void setWhCode(String whCode) {
        WhCode = whCode;
    }

    public int getQmFlag() {
        return QmFlag;
    }

    public void setQmFlag(int qmFlag) {
        QmFlag = qmFlag;
    }

    public BigDecimal getMocQty() {
        return MocQty;
    }

    public void setMocQty(BigDecimal mocQty) {
        MocQty = mocQty;
    }

    public BigDecimal getMrpQty() {
        return MrpQty;
    }

    public void setMrpQty(BigDecimal mrpQty) {
        MrpQty = mrpQty;
    }

    public int getMoId() {
        return MoId;
    }

    public void setMoId(int moId) {
        MoId = moId;
    }

    public String getInvName() {
        return InvName;
    }

    public void setInvName(String invName) {
        InvName = invName;
    }

    public String getInvStd() {
        return InvStd;
    }

    public void setInvStd(String invStd) {
        InvStd = invStd;
    }

    public String getPurRemark() {
        return PurRemark;
    }

    public void setPurRemark(String purRemark) {
        PurRemark = purRemark;
    }

    public String getStdRemark() {
        return StdRemark;
    }

    public void setStdRemark(String stdRemark) {
        StdRemark = stdRemark;
    }

    public String getCustInvCode() {
        return CustInvCode;
    }

    public void setCustInvCode(String custInvCode) {
        CustInvCode = custInvCode;
    }

    public String getWhName() {
        return WhName;
    }

    public void setWhName(String whName) {
        WhName = whName;
    }

    @Override
    public String toString() {
        return "MocoRdersBordy{" +
                "MoDId=" + MoDId +
                ", SortSeq=" + SortSeq +
                ", BaseQtyN=" + BaseQtyN +
                ", BaseQtyD=" + BaseQtyD +
                ", Qty=" + Qty +
                ", RequisitionIssQty=" + RequisitionIssQty +
                ", IssQty=" + IssQty +
                ", WIPType=" + WIPType +
                ", InvCode='" + InvCode + '\'' +
                ", Remark='" + Remark + '\'' +
                ", cSubSysBarCode='" + cSubSysBarCode + '\'' +
                ", PickingQty=" + PickingQty +
                ", LotNo='" + LotNo + '\'' +
                ", WhCode='" + WhCode + '\'' +
                ", QmFlag=" + QmFlag +
                ", MocQty=" + MocQty +
                ", MrpQty=" + MrpQty +
                ", MoId=" + MoId +
                ", InvName='" + InvName + '\'' +
                ", InvStd='" + InvStd + '\'' +
                ", PurRemark='" + PurRemark + '\'' +
                ", StdRemark='" + StdRemark + '\'' +
                ", CustInvCode='" + CustInvCode + '\'' +
                ", WhName='" + WhName + '\'' +
                '}';
    }
}